﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HR_InsuranceSearch.aspx.cs" Inherits="ArtLand.OA.Project.HR.HR_InsuranceSearch" %>



<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="pang1" AutoSizePanelID="Grid1" />
        <ext:Grid runat="server" ID="Grid1" ShowBorder="false" Title="员工个人保险金额缴纳管理" AllowPaging="true" PageSize="12"
            EnableCheckBoxSelect="true" DataKeyNames="ID" OnRowDataBound="Grid1_RowDataBound"
            OnRowCommand="Grid1_RowCommand" IsDatabasePaging="true" OnPageIndexChange="Grid1_PageIndexChange"
            EnableRowNumber="True" EnableTextSelection="true">
            <Toolbars>
                <ext:Toolbar>
                    <Items>
                        <ext:TwinTriggerBox ID="ttbxMyBox2" ShowLabel="false" OnTrigger1Click="ttbxMyBox2_Trigger1Click"
                            OnTrigger2Click="ttbxMyBox2_Trigger2Click" Trigger1Icon="Clear" ShowTrigger1="False"
                            EmptyText="请输入员工编号" Trigger2Icon="Search" runat="server" Width="180px">
                        </ext:TwinTriggerBox>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:ToolbarText ID="ToolbarText1" runat="server" Text="年:"></ext:ToolbarText>
                        <ext:DropDownList runat="server" ID="Drp_Year" Width="70px" AutoPostBack="true" OnSelectedIndexChanged="SearchLoad">
                        </ext:DropDownList>
                        <ext:ToolbarText ID="ToolbarText2" runat="server" Text="月:"></ext:ToolbarText>
                        <ext:DropDownList runat="server" ID="Drp_Mouth" Width="70px" AutoPostBack="true" OnSelectedIndexChanged="SearchLoad"></ext:DropDownList>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:Button runat="server" ID="btn_Export" Icon="PageExcel" Text="导出" OnClick="btn_Export_Click"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Columns>
                <ext:BoundField HeaderText="缴纳年月" DataField="PayYear" />
                <ext:BoundField HeaderText="员工编号" DataField="EmpNo" />
                <ext:BoundField HeaderText="员工姓名" DataField="EmpNo" />
                <ext:BoundField HeaderText="缴纳类型" DataField="PayType" Width="120px" />
                <ext:BoundField HeaderText="缴纳状态" DataField="PayStuts" />
                <ext:BoundField HeaderText="社保合计" DataField="SocialTotal" />
                <ext:BoundField HeaderText="公积金合计" DataField="ProvTotal" />
                <ext:BoundField HeaderText="个人总合计" DataField="PersonAmount" />
                <ext:BoundField HeaderText="公司总合计" DataField="CompanyAmount" />
                <ext:BoundField HeaderText="总合计" DataField="Amounts" />
                <ext:WindowField ColumnID="myWindowField" Width="60px" WindowID="Window1" Text="" DataTextFormatString="{0}" DataIFrameUrlFields="ID"
                    DataIFrameUrlFormatString="HR_InsuranceChange.aspx?id={0}" Icon="ApplicationEdit" DataWindowTitleField="EMNAME"
                    DataWindowTitleFormatString="修改{0}该月的缴纳保险" TextAlign="Center" HeaderText="修改" />
                <ext:LinkButtonField ConfirmText="你确定要这么做么？" ConfirmTarget="Top" Icon="Decline" ColumnID="ID"
                    Width="50px" CommandName="Del" TextAlign="Center" HeaderText="删除" />
                <ext:BoundField HeaderText="缴纳月份" DataField="PayMonth" Hidden="true" />
            </Columns>
        </ext:Grid>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="650px" Height="520px">
        </ext:Window>
    </form>
    <script src="../js/extgridbug.js"></script>
</body>
</html>
